package com.muqi.app.qlearn.modles;

import java.io.Serializable;

import org.json.JSONObject;

import com.google.gson.Gson;

public class TeacherList implements Serializable {
	/***/
	private static final long serialVersionUID = 1L;
	
	public String id;
	public String name;
	public String avatar;
	public String mobile;
	public String jiaoling;
	public String im_user_id;
	public String introduce;
	public String tedian;
	public String total_authentication;
	public String shenfen;
	public String school;
	public float distance;
	public String headpic;
	
	public static TeacherList fromJson(JSONObject json) {
		if(json != null){
            return new Gson().fromJson(json.toString(), TeacherList.class);
        }
		return null;
	}
}
